package org.zero.onlinesubject.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName taskpub
 */
@Data
public class TaskPub implements Serializable {
    /**
     * 
     */
    @TableId
    private String taskid;
    /**
     * 
     */
    private String taskname;

    private String description;
    /**
     * 
     */
    private String publisherid;
    /**
     * 群ID或LiveID
     */
    private String assignto;
    /**
     * 未发布，已发布，已截止
     */
    private String taskstatus;
    /**
     * 
     */
    private String tasktype;

    private String leveltype;
    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime pubtime;
    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deadline;
    private static final long serialVersionUID = 1L;
}